package com.hospital.medicals.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.medicals.entity.MedicalUser;

import java.util.List;

/**
 * 用户service层接口
 */
public interface MedicalUserService extends IService<MedicalUser> {
    List<MedicalUser> list();

    int saveMedicals(MedicalUser medicalUser);

    void deleteMedicals(int id);

    void updateMedicals(MedicalUser medicalUser);

    MedicalUser findById(int id);
}
